﻿using Comunication;

namespace VehicleAgent.TCPCommands
{
    class LeaveVehicle:Command
    {
        public LeaveVehicle(int idClient, decimal distance)
        {
            Header = "REQ";
            Cmd = Commands.LEAVE_VEHICLE;
            Data = string.Format("{0}|{1}", idClient.ToString(), distance.ToString("0,0.000"));
        }
    }
}
